Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 3 - Endpoints / Endpoints Reference
Functions


Creating Endpoints

To transfer information, you need to create an endpoint and assign it an address. To create an endpoint, you call the OTOpenEndpoint or OTAsyncOpenEndpoint function. You must create an endpoint before calling any endpoint functions. After creating an endpoint, you must bind it by assigning it a protocol address. After binding, the endpoint is ready for use. When you finish using an endpoint, always call the function OTCloseProvider to close and delete the endpoint.

For more information about binding an endpoint, see "Binding and Unbinding Endpoints," beginning on page 3-76. For a description of the OTCloseProvider function, see the reference section of the chapter "Providers" in this book.


Subtopics
OTAsyncOpenEndpoint
OTOpenEndpoint

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996